import request from "@/utils/http.js"

export default {
  getBanner: data => {
    return request({
      url: 'bizhi/homeBanner',
      data
    })
  },
  getRecommend: data => {
    return request({
      url: 'bizhi/randomWall',
      data
    })
  },
  getClassify: data => {
    return request({
      url: 'bizhi/classify',
      data
    })
  },
  getWallList: data => {
    return request({
      url: 'bizhi/wallList',
      data
    })
  },
  getImageInfo: data => {
    return request({
      url: 'bizhi/detailWall',
      data
    })
  },
  setScore: data => {
    return request({
      url: 'bizhi/setupScore',
      data
    })
  },
  saveImage: data => {
    return request({
      url: 'bizhi/downloadWall',
      data
    })
  }
}


